<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<form action="" method="post">
			<table class="table table-hover">
				<tr class="active">
				  <th width="90">添加货品</th>
				  {{foreach from="$data" value="$v"}}
				 	 <td>{{$v['taname']}}</td>
				  {{endforeach}}
				  <th>库存</th>	
				  <th>货号</th>	
				  <th width="210">操作</th>
				  
				</tr>
					<tr>
						<td>选择货品</td>
						{{foreach from="$data" value="$v"}}
							<td>
								<select name="combineID[]">
									<option value="">-请选择-</option>
									{{foreach from="$v['value']" value="$value"}}
										<option value="{{$value['gaid']}}">{{$value['gavalue']}}</option>
									{{endforeach}}
								</select>
							</td>
						{{endforeach}}
						<td><input type="text" name="inventory" value="0"/></td>
						<td><input type="text" name="number"/></td>
						<td>
							<input type="hidden" name="wsshop_goods_gid" id="gid" value="{{$_GET['gid']}}" />
							<input type="submit" value="确认添加" class="btn btn-sm btn-warning"/>
							<a href="javascript:history.back(-1)" class="btn btn-sm btn-danger">返回上一页</a>
						</td>
					</tr>
			</table>
		</form>
	</body>
</html>
